﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using BlueLotus7.WeiboApiLibrary.Contracts;

namespace BlueLotus7.WeiboApiLibrary.Weibo.Contracts
{
    [DataContract]
    public class WeiboUser
    {
        #region Properties

        [DataMember]
        public string ThirdPartyIdentity
        {
            get;
            set;
        }

        [DataMember]
        public string DisplayName
        {
            get;
            set;
        }

        [DataMember]
        public int FansCount
        {
            get;
            set;
        }

        [DataMember]
        public int FollowCount
        {
            get;
            set;
        }

        [DataMember]
        public int ArticleCount
        {
            get;
            set;
        }

        [DataMember]
        public string BasicInformation
        {
            get;
            set;
        }

        [DataMember]
        public List<string> EducationInformation
        {
            get;
            set;
        }

        [DataMember]
        public string Description
        {
            get;
            set;
        }

        [DataMember]
        public DateTime? Birthday
        {
            get;
            set;
        }

        [DataMember]
        public Gender Gender
        {
            get;
            set;
        }

        [DataMember]
        public string LocationInformation
        {
            get;
            set;
        }

        [DataMember]
        public List<string> Tags
        {
            get;
            set;
        }

        [DataMember]
        public string AvatorUrl
        {
            get;
            set;
        }

        #endregion

        public WeiboUser()
        {
            this.EducationInformation = new List<string>();
            this.Tags = new List<string>();
        }
    }
}
